package com.worthtech.billportal.service;

import java.util.List;

import com.worthtech.billportal.bean.CsPosMerAccount;
import com.worthtech.billportal.bean.CsPosMerAccountLs;

public interface PosBinAccountService {
	    public void addAccount(CsPosMerAccount account);
		
	    public void addAccountLS(CsPosMerAccountLs account);
	    
		public String createLcHead(String LcHead);
		
		public String getCount(String tableName, String condition);
		
		@SuppressWarnings("unchecked")
		public List getListByHQL(String tableName, int startPage, int perNo,
				String orderby);
		
		public CsPosMerAccountLs getByMerTrmcode(String tableName,String mercode,String trmcode,String sql);
		
		public List<CsPosMerAccount> getByMerTrm(String tableName,String mercode,String trmcode,String sql);
		
		public void updateFlag(CsPosMerAccount account);
		
		public void updateFlagLS(CsPosMerAccountLs account);
		
		public void delObj(CsPosMerAccount account);
		
		public void delObjLS(CsPosMerAccountLs account);
}
